Bundler\Helpers\Ajax S

Total Complexity 46
Dependencies 3
Dependents 1
Total lines 312
Lines of code 164
Logical lines of code 99
Comment lines 88
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
add_to_cart()
A
46 10 33
is_product_in_stock()
S
57 7 16
get_public_endpoints()
S
59 6 13
search_products()
S
52 4 24
verify_nonce()
S
63 4 9
update_offer()
S
60 3 12
new_offer()
S
61 3 11
handle_public_ajax()
S
69 2 6
handle_private_ajax()
S
67 2 7
init()
S
77 1 4
get_available_public_endpoints()
S
71 1 6
get_available_private_endpoints()
S
64 1 10
delete_offer()
S
70 1 6
change_offer_status()
S
68 1 7